<template>
  <div class="app">
 <MyInformation
 :username="username"
 :age="age"
 :isSingle="isSingle"
 :car="car"
 :hobby="hobby"
 ></MyInformation>
  </div>
</template>
<style>

</style>
<script>
import MyInformation from './components/MyInformation.vue'
export default {
  components:{
    MyInformation:MyInformation
  },
  data(){
    return {
      username:'小帅',
      age:18,
      isSingle:'true',
      car:{
        brand:'宝马'
      },
      hobby:['篮球','唱歌','跳舞']
    }
  }
}
</script>